package com.csy.property.community.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.csy.commons.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;


/**
 * 小区对象

 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AjCommunity extends BaseEntity {

    private static final long serialVersionUID = 8725185045008950602L;

    /*小区编号
    * 主键注解
    * 格式化Long型为String型注解
    * */
    @TableId
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long communityId;

    /* 小区名称 */
    private String communityName;

    /* 小区编码 */
    private String communityCode;

    /* 省区划码 */
    private String communityProvinceCode;

    /* 市区划码 */
    private String communityCityCode;

    /* 区县划码 */
    private String communityTownCode;

    /* 详细地址 */
    private String communityDetailedAddress;

    /* 经度 */
    private String communityLongitude;

    /* 纬度 */
    private String communityLatitude;

    /* 物业ID */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long deptId;

    /* 排序 */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long communitySort;



}
